import { createApp } from 'vue'
import './style.css'
import App from './App.vue'

import router from './router/index'

import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

import VMdPreview from '@kangc/v-md-editor/lib/preview';
import '@kangc/v-md-editor/lib/style/preview.css';
import vuepressTheme from '@kangc/v-md-editor/lib/theme/vuepress.js';
import '@kangc/v-md-editor/lib/theme/style/vuepress.css';
import Prism from 'prismjs';
import createCopyCodePlugin from '@kangc/v-md-editor/lib/plugins/copy-code/index';
import '@kangc/v-md-editor/lib/plugins/copy-code/copy-code.css';
import VueClipBoard from 'vue-clipboard2'

import UUID from 'vue3-uuid'



VMdPreview
    .use(vuepressTheme, {Prism})
    .use(createCopyCodePlugin())

createApp(App)
    .use(Antd)
    .use(router)
    .use(UUID)
    .use(VueClipBoard)
    .use(VMdPreview)
    .mount('#app')
